home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / infoserv / www / cern / dev / www-talk.9301-9306.Z / www-talk.9301-9306 / text0716.txt < prev    next >
Encoding:
Text File  |  1995-04-24  |  3.2 KB  |  69 lines

  1.  
  2. > By the way, Viola, the only
  3. > other browser I use, *does* in fact use a text widget, and handles my
  4. > document just fine.
  5.  
  6. Actually, from having just looked at the viola code, I don't see that it
  7. uses a text widget anywhere.  They have their own code to figure out the
  8. visible text, and draw it each time.
  9.  
  10.  
  11. >  
  12. >  Actually, I don't think it's a pixmap.  What every X text widget I'm
  13. >  aware of does, is this:  It puts up a single window, and figures out
  14. >  what lines of the text to paint in that window.  When the user scrolls
  15. >  the text, it re-figures the lines, and repaints the window.  Thus it can
  16. >  handle text of arbitrary length, with relatively small use of X Window
  17. >  resources, even if backing store is enabled; in fact, backing store
  18. >  works well with this scheme.
  19.  
  20. How many X text widgets are you aware of?  Certainly the Motif Text widget
  21. does NOT do what you describe.  The Athena Text widget does.  You have some
  22. other text widget somewhere you are referring to?
  23.  
  24.  
  25. As the author of the HTMLwidget (yes, it IS a widget, and you could link it
  26. into either Athena or Motif and it will work with the other widgets) I 
  27. suppose I should defend it a little here.
  28.  
  29. In general the criticisms of my design decision are correct, in specifics
  30. they have all been wrong.  As I believe others have pointed out by now, your
  31. X server is NOT allocating some huge chunk of memory.  Motif made the same
  32. decision I did, and Athena did not.  There are many reasons behind the
  33. decision, I will only mention one important one here that no one else has
  34. covered yet.  I wanted my widget to work with other widgets sets
  35. (specifically with either Athena or Motif).  In order to do the kind of
  36. viewport scrolling Bill would like, the widget, has to know intimate details
  37. about the internals of a second scrollbar widget which it is going to
  38. display for scrolling.  This ties you to whatever widgets set's scrollbar
  39. you end up using.
  40.  
  41. In the long run (xmosaic 2.0 or 3.0 if the project lasts that long) the
  42. widget will be changed to do pretty much what Bill describes.  This will
  43. tie it to the Motif widget set, and make it unusable in other widget
  44. sets.  I personally dislike this because I disapprove of OSF's frequently
  45. heavy handed methods, and don't like to see all my work benefitting them,
  46. and only them, but other design decisions override my personal preferences,
  47. and simple practicality forces the widget re-write.
  48.  
  49.  
  50. As to the heated argument that seems to have resulted.  Sigh........
  51. It would be nice if everyone double checked their facts before posting
  52. them to thousands of people world-wide, but the majority of the people
  53. on the net do not (including me at times).  This is unfortunate.
  54.  
  55. Marc,
  56.     It seems to be human nature that if something works and they like
  57. it, most say nothing.  But if they don't like it, most yell loudly. 
  58. Someone once told me you can tell a software success by how many people 
  59. were complaining, the more complaints, the more successful it was.  I
  60. believe this is true.  So far we are in the envious position of receiveing
  61. MORE praise than complaints.  Think a moment about how many happy quiet
  62. people this means, compared to how few unhappy noisy people
  63.  
  64.  
  65.  
  66.     Eric Bina
  67.     ebina@ncsa.uiuc.edu
  68.  
  69.